import React, { Component } from 'react';
import { Route, Switch } from 'react-router-dom';
import Login from '../components/login/Login'
import Register from '../components/login/Register'
import Home from '../components/home'
export default class CRouter extends Component {
    render() {
        return (
            <Switch>
                <Route component={Home} path="/app/home/index" />
                <Route component={Login} path="/app/login/login" />
                <Route component={Register} path="/app/login/register" />
            </Switch>
        )
    }
}